package com.tougutips.common.core.constant;

public final class TokenConstants {
    /**
     * token请求头
     */
    public static final String AUTHENTICATION = "Authentication";
    /**
     * 盐
     */
    public final static String SECRET = "tougutips888";
    /**
     * 过期时间 2小时
     */
    public static final long EXPERING_TIME = 120 * 60 * 1000;

    /**
     * token负载
     */
    public final static String PAYLOAD = "userInfo";

    /**
     * account字符串
     */
    public final static String ACCOUNT = "account";
    /**
     * user字符串
     */
    public final static String USER = "user";
    /**
     * token字符串
     */
    public final static String TOKEN = "token";
    /**
     * data字符串
     */
    public final static String DATA = "data";

}
